package today.rocky.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "agent_rate")
@Data
@Entity
public class AgentRate implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "rate")
    private String rate;

    @Id
    @Column(name = "userId", insertable = false, nullable = false)
    private Integer userId;

    
}